package team.pra.manager.service;

import team.pra.manager.common.ManagerResult;
import team.pra.manager.common.PageBean;
import team.pra.manager.common.PageHelper;
import team.pra.manager.pojo.Checkin;

import java.util.List;

public interface CheckinService {

    PageBean<Checkin> queryByPage(int code,int size);

    List<Checkin> queryAll();

    Checkin queryById(Integer id);

    ManagerResult update(Checkin checkin);

    ManagerResult insert(Checkin checkin);

    ManagerResult delete(Integer id);

    void findCheckinByCondition(PageHelper<Checkin> pageHelper);
}
